﻿using System;
using System.Collections.Generic;

namespace CRM.Infrastructure.EFCore.Mysql
{
    public partial class OrderProduct
    {
        /// <summary>
        /// 订单产品ID
        /// </summary>
        public string OpId { get; set; } = null!;
        /// <summary>
        /// 产品ID
        /// </summary>
        public string? PId { get; set; }
        /// <summary>
        /// 订单ID
        /// </summary>
        public string? OId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? ODateTime { get; set; }
        /// <summary>
        /// 产品单价
        /// </summary>
        public decimal? OpMoney { get; set; }
        /// <summary>
        /// 产品数量
        /// </summary>
        public int? OpCount { get; set; }
        /// <summary>
        /// 产品总价
        /// </summary>
        public decimal? OpSum { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? OpName { get; set; }
        /// <summary>
        /// 图片地址
        /// </summary>
        public string? OpPhoto { get; set; }
        public int? OpIsPay { get; set; }
    }
}
